package cc.comac.mom.entity;

import java.util.Date;

import com.alibaba.fastjson.annotation.JSONField;
import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;

import cc.comac.mom.entity.base.BaseResultEntity;
import lombok.Data;
import lombok.EqualsAndHashCode;

@TableName(value = "equip_patrol_check_plan")
@Data
@EqualsAndHashCode(callSuper=true)
public class EquipPatrolCheckPlanEntity extends BaseResultEntity{
	private static final long serialVersionUID = 1L;
	
	@TableField(value="patrol_check_id")
	@TableId(value = "patrol_check_id",type=IdType.INPUT)
	private long   id;
	private String planNumber;
	private String location;
	@JSONField(format = "yyyy-MM-dd HH:mm:ss")
	private Date firstPlanStartDate = null;
	private String cycle;
	private String description;
	private int cycleValue;
	private String executeUser;
	private String executeUserJobNumber;
	private String executionTime;
	private int executionTimeValue;
	private int isExpire;
	private int isAlendar;
	private String calendarCode;
	private int frequentValue;
	private int status =-1;
	private String frequentType;
	@JSONField(format = "yyyy-MM-dd HH:mm:ss")
	private Date planStartDate = null;
	@JSONField(format = "yyyy-MM-dd HH:mm:ss")
	private Date planEndDate =null;
	@TableField(value ="ea_0")
	private String ea0;
	@TableField(value ="ea_1")
	private String ea1;
	@TableField(value ="ea_2")
	private String ea2;
	@TableField(value ="ea_3")
	private String ea3;
	@TableField(value ="ea_4")
	private String ea4;
	
}
